<?php
	echo "	<div class='innHeadBox'>
				<div class='hd'>".Language::Get('FRASQUS')."</div>
			</div>
			<div class='innerCont'>
				<div class='faqBox'>
					<div class='faqHd' id='faq'>".Language::Get('Important questions')."</div>";
	
	//columns delimiter
	$delimiterNumber = ceil(count($this->data[$this->name])/2);
	
	echo "			<ul class='faqList'>";
						for ($i = 0; $i < $delimiterNumber; $i++)
						{
							echo "<li><a href='#faq$i'>{$this->data[$this->name][$i]['question']}</a></li>";
						}
	echo "			</ul>
					<ul class='faqList faqRight'>";
						for ($j = $delimiterNumber; $j < count($this->data[$this->name]); $j++)
						{
							echo "<li><a href='#faq$j'>{$this->data[$this->name][$j]['question']}</a></li>";
						}
	echo "			</ul>
					<br clear='all' />";
	
	//FAQs list
	$k = 0;
	foreach ($this->data[$this->name] as $faq)
	{
		echo "		<div class='faqDef' id='faq$k'>
						<div class='h2'>{$faq['question']}</div>
						<p>{$faq['answer']}</p>
						<img src='".SITE_IMAGES."hr2.gif' alt='' class='hr' />
					</div>
		";
		$k++;
	}
	
	echo "			<div class='back'><a href='#faq'><img src='".SITE_IMAGES."uarr2.png' alt='' /></a>&nbsp;&nbsp;<a href='#faq'>".Language::Get('Up')."</a></div>
				</div>
			</div>
			<br clear='all' />";
?>